package com.hea7en.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hea7en.model.article.dto.ArticleHomeDto;
import com.hea7en.model.article.pojo.ApArticle;
import com.hea7en.model.common.dto.ResponseResult;

/**
 * @author: hea7en
 * @Date: 2024/8/18 10:07 PM
 * @Description: 文章模块业务层接口
 */
public interface ArticleService extends IService<ApArticle> {

    /**
     * 加载文章
     * @param type 1为加载更多  2为加载最新
     * @param articleHomeDto
     * @return
     */
    ResponseResult loadArticle(Short type, ArticleHomeDto articleHomeDto);
}
